package com.SpringMVC.dao;

import java.util.List;

import com.SpringMVC.model.TUser;

public interface TUserMapper {
    int deleteByPrimaryKey(String tId);

    int insert(TUser record);

    int insertSelective(TUser record);

    TUser selectByPrimaryKey(String tId);

    int updateByPrimaryKeySelective(TUser record);

    int updateByPrimaryKey(TUser record);
    
TUser selectByUserName(String tUserName);//更改自己的用户密码
    
    int updatePwd(String tUserPwd,String tUserName);//更改特定用户密码
    
    //查询所有用户信息
    public List<TUser> selectAll();

	void addUser(TUser tuser);
	int deleteByUserName(String tUserName);
}